package com.movitech.mobile.cz.base.purchase.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.PSpPlanDetail;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtPSpPlanDetail;
import com.movitech.mobile.cz.base.purchase.entity.ext.StrategicPurchaseRequiredFindRequest;

import java.util.List;

/**
 * <p>
 * 战略采购规划-需求明细 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
public interface PSpPlanDetailService extends IService<PSpPlanDetail> {
    List<PSpPlanDetail> getDetailsByYear(Integer year);
    Integer selectExtCount(StrategicPurchaseRequiredFindRequest strategicPurchaseRequiredFindRequest);
    List<ExtPSpPlanDetail> selectExtByEntity(StrategicPurchaseRequiredFindRequest strategicPurchaseRequiredFindRequest);
    boolean deleteByStrategicId(String sId);


}
